
<?php
session_start();
    if(isset($_SESSION['permisson']) && $_SESSION['permisson'] ==1){
        
      // header('Location: imageManager.php');
    }
    else
        header('Location: login.php');
?>

<html>
    <head>
        <title>Administrator</title>
        <style type="text/css">
            body{
                margin-left:auto;
                width: 960px;
            }
            
        </style>
        
        <link rel="stylesheet" href="css/adminStyle.css"/>
    </head>
    
    <body>
        <div id="header">
            <div class="logo"></div>
            <div id="logout">
                <ul>
                    <li><a href="../index.php">Home</a></li>
                    <li><a href="#">Logout</a></li>
                </ul>               
            </div>
        </div>
        
        <div id="list-manger">
            <div id="top-artical">
                <p>Top 5 newest article</p>
            </div>
            
            <div class="cell-subject">
                <a href="articleManager.php"><img src="../images/manager/editor.png" height="120" width="120"/></br>Article manager</a>
            </div>
            <div class="cell-subject">
                <a href="imageManager.php"><img src="../images/manager/pictures.png" height="120" width="120"/></br>Image manager</a>
            </div>
            <div class="cell-subject">
                <a href="videoManager.php"><img src="../images/manager/videos.png" height="120" width="120"/></br>Video manager</a>
            </div>
            <div class="cell-subject">
                <a href="hotelManager.php"><img src="../images/manager/Hotel.png" height="120" width="120"/></br>Hotel manager</a>
            </div>
            <div class="cell-subject">
                <a href="provinceManager.php"><img src="../images/manager/map.png" height="120" width="120"/></br>Province manager</a>
            </div>
            <div class="cell-subject">
                <a href="contactManager.php"><img src="../images/manager/contact.png" height="120" width="120"/></br>Contact manager</a>
            </div>
            <div class="cell-subject">
                <a href="themeManager.php"><img src="../images/manager/theme.png" height="120" width="120"/></br>Theme manager</a>
            </div>            
        </div>
        
        <div class="footer-admin"></div>
        
        
    </body>
</html>

